package vn.pdg.zoombie.common;

public class LogDebug {

	//enable debug if LOG = true ,else disable 
	static final boolean LOG = true;

	public static int getLineNumber() {
	    return Thread.currentThread().getStackTrace()[2].getLineNumber();
	}
	public static void i(String tag, String string) {
	    if (LOG) android.util.Log.i(tag, string);
	}
	public static void e(String tag, String string) {
	    if (LOG) android.util.Log.e(tag, string);
	}
	public static void d(String tag, String string) {
	    if (LOG) android.util.Log.d(tag, string);
	}
	public static void v(String tag, String string) {
	    if (LOG) android.util.Log.v(tag, string);
	}
	public static void w(String tag, String string) {
	    if (LOG) android.util.Log.w(tag, string);
	}
}
